Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetAnimationSetting

You can use the QTVRGetAnimationSetting function to get the current state of an animation setting for an object node.

OSErr QTVRGetAnimationSetting (
                     QTVRInstance qtvr,
                     QTVRObjectAnimationSetting setting,
                     Boolean *enable);
qtvr
An instance of a QuickTime VR movie.
setting
An animation setting. See "Animation Settings" for a description of the available animation settings.
enable
On entry, a pointer to a Boolean value. On exit, that value is set to true if the specified animation setting is currently enabled for the specified object node or to false otherwise.
function result
A result code.

DESCRIPTION

The QTVRGetAnimationSetting function returns, through the enable parameter, the current state of the animation setting specified by the setting parameter for the object node specified by the qtvr parameter. If enable is true , the specified setting is currently enabled; otherwise, that setting is disabled.

SPECIAL CONSIDERATIONS

QTVRGetAnimationSetting is valid only for object nodes.

SEE ALSO

Use QTVRSetAnimationSetting (next) to set the state of an animation setting for an object node.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |